package indi.zhifa.engine.core.excel2025.annotation;


import indi.zhifa.engine.core.excel2025.enums.EConstraintType;
import indi.zhifa.engine.core.excel2025.handler.IExcelCellHandler;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ExcelColumnAnn {
    String[] keys();
    Class<? extends IExcelCellHandler> handler() default IExcelCellHandler.class;
    boolean nullable() default true;
    EConstraintType constraintType() default EConstraintType.NULL;
    double min() default Double.MIN_VALUE;
    double max() default Double.MIN_VALUE;
    String[] strEnums() default {};
    int[] iEnums() default {};
    int fixed() default -1;
    boolean dateChange() default false;
    String dateFormatter() default "yyyy-MM-dd";
    boolean rowSpan() default false;
}
